#coding=utf8
import json
import random
import sys, os
BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASE_PATH)# 项目目录
from ip_save import save_local


def get_local_proxy_random():
    return random.choice(save_local.get_by_xila(1))

if __name__ == "__main__":
    print(get_local_proxy_random())